package edu.xhu.communityantiepidemicsystemback.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lcx
 * @since 2022-06-20
 */
public class Filing implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 身份证
     */
    @TableField("id_card")
    private String idCard;

    /**
     * 姓名
     */
    @TableField("name")
    private String name;

    /**
     * 性别
     */
    @TableField("sex")
    private String sex;

    /**
     * 电话
     */
    @TableField("telephone")
    private String telephone;

    /**
     * 出发日期
     */
    @TableField("departure_date")
    private LocalDateTime departureDate;

    /**
     * 到达日期
     */
    @TableField("arrival_date")
    private LocalDateTime arrivalDate;

    /**
     * 返前居住地
     */
    @TableField("before_place")
    private String beforePlace;

    /**
     * 详细地址
     */
    @TableField("detailed_address")
    private String detailedAddress;

    /**
     * 到返轨迹
     */
    @TableField("track")
    private String track;

    /**
     * 交通方式
     */
    @TableField("vehicle")
    private String vehicle;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 创建者
     */
    @TableField(value = "creator", fill = FieldFill.INSERT)
    private String creator;

    /**
     * 更新时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;

    /**
     * 操作者
     */
    @TableField(value = "operator", fill = FieldFill.UPDATE)
    private String operator;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }
    public LocalDateTime getDepartureDate() {
        return departureDate;
    }

    public void setDepartureDate(LocalDateTime departureDate) {
        this.departureDate = departureDate;
    }
    public LocalDateTime getArrivalDate() {
        return arrivalDate;
    }

    public void setArrivalDate(LocalDateTime arrivalDate) {
        this.arrivalDate = arrivalDate;
    }
    public String getBeforePlace() {
        return beforePlace;
    }

    public void setBeforePlace(String beforePlace) {
        this.beforePlace = beforePlace;
    }
    public String getDetailedAddress() {
        return detailedAddress;
    }

    public void setDetailedAddress(String detailedAddress) {
        this.detailedAddress = detailedAddress;
    }
    public String getTrack() {
        return track;
    }

    public void setTrack(String track) {
        this.track = track;
    }
    public String getVehicle() {
        return vehicle;
    }

    public void setVehicle(String vehicle) {
        this.vehicle = vehicle;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }
    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    @Override
    public String toString() {
        return "Filing{" +
        "id=" + id +
        ", idCard=" + idCard +
        ", name=" + name +
        ", sex=" + sex +
        ", telephone=" + telephone +
        ", departureDate=" + departureDate +
        ", arrivalDate=" + arrivalDate +
        ", beforePlace=" + beforePlace +
        ", detailedAddress=" + detailedAddress +
        ", track=" + track +
        ", vehicle=" + vehicle +
        ", createTime=" + createTime +
        ", creator=" + creator +
        ", updateTime=" + updateTime +
        ", operator=" + operator +
        "}";
    }
}
